package com.zzy.weixin.repository;


import com.zzy.weixin.entity.Customer;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface CustomerRepository extends CrudRepository<Customer, String> {

    List<Customer> findByLastName(String lastName);
    Customer getByFirstName(String firstName);
}